package com.linkallcloud.core.dao;

import org.apache.ibatis.annotations.Param;

import com.linkallcloud.core.domain.FlowStep;
import com.linkallcloud.core.dto.Trace;

public interface IFlowStepDao<T extends FlowStep> extends IDao<T> {

    int progress(@Param("t") Trace t, @Param("twfId") Long twfId, @Param("twfUuid") String twfUuid,
            @Param("progress") int progress);

    int complete(@Param("t") Trace t, @Param("twfId") Long twfId, @Param("twfUuid") String twfUuid,
            @Param("op") int op);

}
